using Headspring.Training.Domain.Services.Impl;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;

namespace Headspring.Training.Domain.UnitTests.Services
{
	[TestFixture]
	public class AlphanumericNumberGeneratorTester
	{
		[Test]
		public void ShouldBeFiveInLength()
		{
			AlphanumericNumberGenerator generator = new AlphanumericNumberGenerator();
			string number = generator.GenerateNumber();

			Assert.That(number.Length, Is.EqualTo(5));
		}
	}
}